package www.game._04_sum;

import org.junit.Test;

import static org.junit.Assert.assertEquals;


public class SumTest1 {
    
    Sum s = new Sum();

    @Test
    public void Test1()
    {

      assertEquals(-1, s.GetSum(0, -1));
      assertEquals(1, s.GetSum(0, 1));
      assertEquals(-3, s.GetSum(-1, -2));
      assertEquals(-3, s.GetSum(-2, -1));
        assertEquals(3, s.GetSum(-2, 3));
        assertEquals(3, s.GetSum(3, -2));
        assertEquals(-4, s.GetSum(-4, 3));
        assertEquals(-4, s.GetSum(3, -4));
    }

}